net/netip.Prefix.bitsPlusOne (field)
4 uses
net/netip (current package)
netip.go#L1293: bitsPlusOne uint8
netip.go#L1311: bitsPlusOne: bitsPlusOne,
netip.go#L1321: func (p Prefix) Bits() int { return int(p.bitsPlusOne) - 1 }
netip.go#L1326: func (p Prefix) IsValid() bool { return p.bitsPlusOne > 0 }
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)